<div id="post-<?php echo the_ID(); ?>" <?php post_class('item'); ?> style="width: 280px;">
    <?php //edit_post_link( __( 'edit', 'ec' ), '<span class="edit-link">', '</span>' );  ?>
    <a href="<?php echo the_permalink(); ?>" title="<?php the_title();?>">
        <?php 
        $image = get_thumbnail('thumbnail-280x175',false);
        if($image!=false){
            echo '<div class="imager">'.$image.'</div>';
        }else{
            echo '<div class="entry-title" style="width:96%;padding: 10px 2%;color: #FFFFFF;line-height: 24px; font-size: 22px;background: none repeat scroll 0 0 rgba(0, 0, 0, 0.4);text-shadow: 1px 1px 2px #7D7D7D;">';
            the_title();
            echo '</div>';
        }
        ?>
    </a>
</div>  